<!--{include header}-->
<div class="login-main" style="  margin:10px auto">
        <h3>注册</h3>
        <div class="login-left02" id="mys">
            <form id="signup-user-form" method="post" action="/account/signup.php" class="validator">
            <table class="lotab mb110 emailtd" style="position: relative;">
                <tbody><tr>
                    <th>
                        <label for="email">邮箱：</label>                    </th>
                    <td>    
					<input type="text" size="30" name="email"  id="myinput_s"  class="f-input" value="{$_POST['email']}" require="true" datatype="email|ajax" url="${WEB_ROOT}/ajax/validator.php" vname="signupemail" msg="Email格式不正确|Email已经被注册"   style="+line-height:30px;_line-height:30px;"/>              
                        <span class="tips" style="display: none; "></span> </td>
                </tr>
                <tr>
                    <th>
                        <label for="user_id">用户名：</label>                    </th>
                    <td>
                    <input type="text" size="30" name="username"  id="myinput_s" class="f-input" value="{$_POST['username']}" datatype="limit|ajax" require="true" min="2" max="16" maxLength="16" url="${WEB_ROOT}/ajax/validator.php" vname="signupname" msg="用户名长度受限|用户名已经被使用"   style="+line-height:30px;_line-height:30px;"/>
                        <span class="tips "></span>                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="pwd">
                            密码：</label>  </th>
                    <td>
                      <input type="password" size="30" name="password" id="signup-password" class="f-input" require="true" datatype="require"   style="+line-height:30px;_line-height:30px;"/>
                      <div class="grade-pwd">
<!--                        <span>密码强度：</span>
                            <ul>                                 
                                <li class="block01"></li>
                                <li class="block02"></li>
                                <li class="block03"></li>
                            </ul> -->
                    <span class="grade-text"></span>                        </div>                    </td>
                </tr>
                <tr>
                    <th>
                    <label for="pwd2"> 确认密码：</label>                    </th>
                    <td>
                    <input type="password" size="30" name="password2"id="signup-password-confirm" class="f-input" require="true" datatype="compare" compare="signup-password" msg="两字密码输入不一致"   style="+line-height:30px;_line-height:30px;"/>
                        <span class="tips"></span>                    </td>
                </tr>

                <tr>
                    <th>
                    <label for="pwd2">手机号码：</label>                    </th>
                    <td>
                    <input type="text" size="30" name="mobile" id="signup-mobile"  class="number" require="${option_yes('needmobile')?'true':'require'}" datatype="mobile|ajax" url="${WEB_ROOT}/ajax/validator.php" vname="signupmobile" msg="手机号码不正确|手机号码已经被注册"   /><span class="tips"></span></td>
                </tr>	
                <tr>
                    <th>
                                        </th>
                    <td>
                    <span class="inputtip">手机号码是我们联系您的最重要方式，并用于{$INI['system']['couponname']}的短信通知</span>
                        <span class="tips"></span>                    </td>
                </tr>	
			
					<!--{if option_yes('verifyregister')}-->
	<!--{include block_block_captcha}-->
	  <!--{/if}-->
				
                <tr>
                    <th>
                        <label> 所在城市：</label>                    </th>
                    <td>
                     <select name="city_id" class="f-city">${Utility::Option(Utility::OptionArray($allcities,'id','name'), $city['id'])}<option value='0'>其他</option></select></td>
                </tr>
                <tr>
                    <th> </th>
                    <td>
                        <div class="login-ck" style="+line-height:30px;_line-height:30px;">
						<input name="subscribe" id="chk01" class="chk01" value="1" type="checkbox" checked=""><label class="chkt03" for="chk01">&nbsp;&nbsp;订阅每日最新团购信息</label>
                        </div>
                      <div class="login-ck mt8" id="xieyidiv" style="+line-height:30px;_line-height:30px;">
                            <input name="xieyi" id="chk02" class="chk01" type="checkbox" value="1" checked=""><label class="chkt03" for="chk02">&nbsp;&nbsp;我已看过并同意</label>
                        </div>   
						<div class="login-ck mt8" id="xieyidiv" style="+line-height:30px;_line-height:30px;">
                            <a href="/about/terms.php" target="_blank">《{$INI['system']['abbreviation']}用户协议》</a></label>
                        </div>                 </td>
                </tr>
                <tr>
                    <th>  </th>
                    <td>
                        <input class="mybut longbut" id="zhucebtn" name="sub" type="submit" value="同意协议并注册">  </td>
                </tr>
                <tr>
                    <th>  </th>
                    <td>
                    </td>
                </tr>				
            </tbody><div id="email" class="mailListBox" style="display: none; "></div></table>
            </form>
        </div>
        <div class="login-right">
            <p>
                已有{$INI['system']['abbreviation']}账号？</p>
            <span class="lotext">请直接&nbsp;&nbsp;&nbsp;</span> <a class="abut01" href="/account/login.php">
                <span>登录</span></a>
        </div>
        <div class="clr">
        </div>
    </div>

<!--{include footer}-->